﻿@model zkdao.Host.UserService.UserRegister
@using sharp_net;
@{
    ViewBag.Title = "ZKdao - 注册";
}
<div class="min_container">
<h2>欢迎注册！</h2>
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true, "提交失败，请更正以下错误：")
    @Html.LabelFor(m => m.Email)
    <p>
        <span class="input-prepend">
        <span class="add-on input-ico"><i class="icon-envelope"></i></span>
        @Html.TextBoxFor(m => m.Email)
        </span>
        @Html.ValidationMessageFor(m => m.Email)
    </p>
    @Html.LabelFor(m => m.Password)
    <p>
        <span class="input-prepend">
        <span class="add-on input-ico"><i class="icon-lock"></i></span>
        @Html.PasswordFor(m => m.Password)
        </span>
        @Html.ValidationMessageFor(m => m.Password)
    </p>
    @Html.LabelFor(m => m.ConfirmPassword)
    <p>
        <span class="input-prepend">
        <span class="add-on input-ico"><i class="icon-lock"></i></span>
        @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "submit" })
        </span>
        @Html.ValidationMessageFor(m => m.ConfirmPassword)
    </p>
    <p>
        <button type="submit" class="btn submit">注册新用户<i class="icon-arrow-right ml5"></i></button>
    </p>
}
</div>